package com.admin.control.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

//@Controller
//@RequestMapping("/")
public class LoginController {

//    @GetMapping("index")
    public String index() {
//        return new ModelAndView("home");
        return "home";
    }

//    @GetMapping("login")
    public ModelAndView login() {
        return new ModelAndView("login");
    }

//    @GetMapping("hello")
    public ModelAndView hello() {
        return new ModelAndView("hello");
    }
}
